package com.itcast.gittest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@RequestMapping("demo")
public class GitApplication {
    public static void main(String[] args) {
        SpringApplication.run(GitApplication.class, args);
    }
    @RequestMapping("hello")
    public String hello(){

        System.out.println("wahahhahaha");

        return "nihao";
    }
}
